@media (max-width: 767px) {
    .ant-modal {
      max-width: 700px;
      margin: 8px auto;
    }
    .ant-modal-centered .ant-modal {
      flex: 1 1;
    }
  }